import request from '@/utils/request'

export function listSafeAccidentDrillItemRecord(query) {
  return request({
    url: '/system/safeAccidentDrillItemRecord/list',
    method: 'get',
    params: query
  })
}
export function delSafeAccidentDrillItemRecord(safeAccidentDrillItemRecordIds) {
  return request({
    url: '/system/safeAccidentDrillItemRecord/' + safeAccidentDrillItemRecordIds,
    method: 'delete'
  })
}
export function safeAccidentDrillItemRecordAdd(data) {
  return request({
    url: '/system/safeAccidentDrillItemRecord',
    method: 'post',
    data: data
  })
}
export function safeAccidentDrillItemRecordEdit(data) {
  return request({
    url: '/system/safeAccidentDrillItemRecord',
    method: 'put',
    data: data
  })
}
export function safeAccidentDrillItemRecordInfo(query) {
  return request({
    url: '/system/safeAccidentDrillItemRecord/' + query,
    method: 'get',
    // params: query
  })
}
export function listSelect(query) {
    return request({
      url: '/system/safeAccidentDrill/item/listSelect',
      method: 'get',
      params: query
    })
  }
